initialize

fun initialize(appContext: Application, publisherId: String, appId: String, singleLine: Boolean, initializationEvents: <Error class: unknown class>? = null)

This is to use Auto Configuration where the SDK will fetch the configuration from the server, and apply those to itself. it still requires to use the RefineryAdFactory to place the ads. in the Views

If you used setDebug you are not going to get your info but a fake PublisherData because we assume you are testing. We don't recommend using real data while testing can be done through initializeWithConfigBuilder

Parameters

appContext

Application this is needed to provide a way to check for lifecycle of the app

publisherId

String this will be used to fetch the configuration from the server

singleLine

if you use this bool you WONT need to use the RefineryAdFactory to place the ads but first you need to follow Guide to single line config